package com.sneaker.shower.entity.dto;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Hechangjian
 * @version 1.0
 * @className TotalPromotionDTO
 * @date 2019/10/22 22:21
 * @description 合计推广
 * @program bath
 */
@Data
@ApiModel("合计推广")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TotalPromotionDTO {
    public static final TotalPromotionDTO DEFAULT = new TotalPromotionDTO(Lists.newArrayList(), BigDecimal.ZERO, 0);
    @ApiModelProperty("推广详情list")
    private List<PromotionDTO> promotionDTOS;

    @ApiModelProperty("合计金额")
    private BigDecimal totalFee;

    @ApiModelProperty("合计人数")
    private Integer count;

}